package com.todo.biz.application.frontend.service;

import com.todo.common.common.entity.response.BizPageResponse;
import com.todo.common.common.entity.response.BizResponse;
import com.todo.biz.iface.frontend.request.*;
import com.todo.biz.iface.frontend.response.FeedbackBaseVO;
import com.todo.biz.iface.frontend.response.FeedbackDetailVO;

/**
 * (Feedback)表服务接口
 *
 * @author zhangwenxiang
 * @since 2024-03-04 00:19:46
 */
public interface FeedbackAggService {

    /**
     * 新增反馈信息
     *
     * @param param
     * @return
     */
    BizResponse<Boolean> insertFeedback(InsertFeedbackParam param);

    /**
     * 删除反馈信息
     *
     * @param param
     * @return
     */
    BizResponse<Boolean> removeFeedback(RemoveFeedbackParam param);

    /**
     * 更新反馈信息
     *
     * @param param
     * @return
     */
    BizResponse<Boolean> updateFeedback(UpdateFeedbackParam param);

    /**
     * 根据主键查询反馈详情
     *
     * @param param
     * @return
     */
    BizResponse<FeedbackDetailVO> queryFeedbackById(QueryFeedbackByIdParam param);

    /**
     * 根据用户查询反馈列表
     *
     * @param param
     * @return
     */
    BizPageResponse<FeedbackBaseVO> queryFeedbackByUserId(QueryFeedbackByUserIdParam param);
}
